//
//  desDetilCell.m
//  Travel
//
//  Created by dllo on 15/10/5.
//  Copyright (c) 2015年 0. All rights reserved.
//



#import "desDetilCell.h"


@implementation desDetilCell
-(instancetype)initWithFrame:(CGRect)frame
{
    self=[super initWithFrame:frame];
    if(self)
    {
       
        self.myImageView1=[[UIImageView alloc] initWithFrame:CGRectMake(0, 10,168.58*XHIGHT, (WIDTH - 44) / 2)];
        self.myImageView1.contentMode = UIViewContentModeScaleAspectFill;
        self.myImageView1.layer.masksToBounds = YES;
        self.myImageView1.layer.cornerRadius = 8.0;


        [self.contentView addSubview:self.myImageView1];
       
        
        
        self.myLable = [[UILabel alloc] initWithFrame:CGRectMake(10,0, 0.46*WIDTH, 0.09*HIGHT)];
        self.myLable.numberOfLines = 0;
        self.myLable.lineBreakMode = NSLineBreakByWordWrapping;
        self.myLable.textColor=[UIColor whiteColor];
 
        self.myLable.font = [UIFont fontWithName:@"Helvetica-Bold" size:14*XHIGHT];
        [self.myImageView1 addSubview:self.myLable];
       

    }
    return self;
}
@end
